yourstr = input("请输入字符串：")
cout = 0
for i in yourstr:
    if i.isdigit():
        cout += 1
print(cout)